package com.sh.data.engine.domain.normalization.standard.model.param;

import com.sh.data.engine.domain.normalization.standard.model.domain.DictionaryDomain;
import com.sh.data.engine.domain.normalization.standard.model.domain.DictionaryMappingDomain;
import com.sh.data.engine.domain.normalization.standard.model.domain.DictionaryMappingReportDomain;
import com.sh.data.engine.domain.shims.db.model.FieldInfoDomain;
import com.sh.data.engine.domain.shims.db.model.TableInfoDomain;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder(toBuilder = true)
public class DictMappingParam {
    private Long databaseId;
    private Long projectId;
    private String dbType;
    private String dbName;
    private String schema;
    private String tableName;
    private String tableComment;
    private String userName;
    private String password;
    private String jdbcUrl;
    private Integer type; // 1-全量 2-增量字典+所有表 3-增量表+所有字典
    private List<TableInfoDomain> tables;
    private List<DictionaryDomain> dicts;
    private List<FieldInfoDomain> fields;
    private Long tblId;
    private DictionaryDomain dictionary;
    private DictionaryMappingDomain dictionaryMapping;
    private DictionaryMappingReportDomain dictionaryMappingReport;
}
